//
//  RadioDetailsInfoView.h
//  aMoment
//
//  Created by dllo on 15/10/19.
//  Copyright © 2015年 LuckyHan. All rights reserved.
//

#import "BaseView.h"
#import "RadioDetailsInfo.h"
#import "MBProgressHUD.h"

//block传值
typedef void (^selectBlock)(NSString *);

//协议声明
@protocol BackgroundImageDelegate <NSObject>

- (void)passImage:(UIImage *)image;

@end

@interface RadioDetailsInfoView : BaseView<UITableViewDataSource, UITableViewDelegate, UIScrollViewDelegate>

@property(nonatomic, retain)UITableView *tableView;
@property(nonatomic, retain)NSArray *dataSourceArray;

@property(nonatomic, retain)UIScrollView *scrollView;
@property(nonatomic, retain)UIImageView *coverImageView;
@property(nonatomic, retain)UILabel *titleLabel;
@property(nonatomic, retain)UIImageView *downImageView;
@property(nonatomic, retain)UISlider *musicSlider;
@property(nonatomic, retain)UILabel *musicTime;
@property(nonatomic, retain)UIImageView *prevImageView;
@property(nonatomic, retain)UIImageView *nextImageView;
@property(nonatomic, retain)UIImageView *playImageView;

@property(nonatomic, retain)UIWebView *webView;

@property(nonatomic, retain)RadioDetailsInfo *detailsInfo;
@property(nonatomic, retain)NSArray *listArray;
@property(nonatomic, assign)NSInteger flag;
@property(nonatomic, assign)NSInteger index;

@property(nonatomic, assign)id<BackgroundImageDelegate>delegate;
@property(nonatomic, copy)selectBlock block;
@property(nonatomic, retain)MBProgressHUD *progressView;

@end
